"""f=open("E:\\text.txt","r")
s=f.read()
print(s)
f.close()"""
with open(r"E:\text.txt","w") as f:
    s="hello world!"
    f.write(s)